<!DOCTYPE html>

<!--
  ~ Copyright (C) 2018 Pingan, Inc. All Rights Reserved.
  -->
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="common">
    <title th:remove="all">全量导入成功通知</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>

</head>
<body>
<style type="text/css">
    table td {
        white-space: normal;
        word-break: break-all;
    }

</style>
<div>
    <table table-layout="fixed" width="70%" cellPadding="0" align="left" class="fb_add" border="0" cellSpacing="0">
        <caption align="center" class="result_head"><div class="add_title ">全量导入成功通知</div></caption>
        <tbody>
            <tr >
                <th class="result_head" ><div align="left">&nbsp;索引名&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.indexName}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head" ><div align="left">&nbsp;项目名&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.projectName}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head" ><div align="left">&nbsp;负责人&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.master}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head" ><div align="left">&nbsp;运行类型&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.runType}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;数据源名称&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="${model.datasourceName}"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;collection名&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="${model.collectionName}"></td>

            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;启动时间&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.startTime}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;执行开始时间&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.executeStartTime}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;执行结束时间&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.executeEndTime}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;执行消耗总时间(秒)&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.executeCostTime}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left" >&nbsp;RPC请求总耗时(秒)&nbsp;</div></th>
                <td th:if ="${model != null}" align="left"><div   th:text="'&nbsp;'+${model.rpcCostTime}+'&nbsp;'"></div></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left" >&nbsp;solr/es数据导入总耗时(秒)&nbsp;</div></th>
                <td th:if ="${model != null}" align="left"><div   th:text="'&nbsp;'+${model.dataImportCostTime}+'&nbsp;'"></div></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;抓取成功记录数&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.fetchSuccessCount}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;抓取总记录数&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.fetchTotalCount}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;导入成功记录数&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.importSuccessCount}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left">&nbsp;导入总记录数&nbsp;</div></th>
                <td th:if ="${model != null}" align="left" th:text="'&nbsp;'+${model.importTotalCount}+'&nbsp;'"></td>
            </tr>
            <tr>
                <th class="result_head"><div align="left" >&nbsp;数据源配置快照&nbsp;</div></th>
                <td th:if ="${model != null}" align="left"><div  th:text="${model.configSnapshot}"></div></td>
            </tr>
        </tbody>
    </table>
</div>
</body>
</html>